Graphic Layer Schema
PART Element
See Also  Send comments on this topic.
Graphic Layer Schema : PART Element

Glossary Item Box

Description

Defines a part for a polyline or polygon graphic element.

Diagram

POINT Element Sequence PART Element

Overview

PART
Defines a part for a polyline or polygon graphic element.
maxx required xs:double
Right top x-coordinate in map units.
maxy required xs:double
Right top y-coordinate in map units.
minx required xs:double
Left bottom x-coordinate in map units.
miny required xs:double
Left bottom y-coordinate in map units.
type optional Restriction of xs:string
The geometry type of the part for a polygon.
Sequence
POINT
Defines a point or vertex in a graphic element.When parent element is PREFERENCES, POINT specifies the point greeking thresholds. When parent element is GEOMETRY or PART, POINT defines a point or vertex in a graphic element. When parent element is REFPOINTS, POINT defines a reference point.

Attributes

NameTypeUseDefaultFixedDescription
maxxxs:doublerequired  Right top x-coordinate in map units.
maxyxs:doublerequired  Right top y-coordinate in map units.
minxxs:doublerequired  Left bottom x-coordinate in map units.
minyxs:doublerequired  Left bottom y-coordinate in map units.
typeRestriction of xs:stringoptional  The geometry type of the part for a polygon.

Remarks

  • minx, miny, maxx, maxy attributes are only required if type is rect, ellipse, or circle.
  • If parent GEOMETRY element type is polyline, polylinez, polylinem, polygon, polygonz, or polygonm, then no attributes are required for PART. The geometry is derived from the child POINT elements.

Examples

Restrictions

  • If the PART type is rect, ellipse, or circle, then the POINT child element is not used.

Source

<xs:element name="PART" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Defines a part for a polyline or polygon graphic element.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="apg:POINT" />
    </xs:sequence>
    <xs:attribute use="required" name="maxx" type="xs:double">
      <xs:annotation>
        <xs:documentation>Right top x-coordinate in map units.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute use="required" name="maxy" type="xs:double">
      <xs:annotation>
        <xs:documentation>Right top y-coordinate in map units.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute use="required" name="minx" type="xs:double">
      <xs:annotation>
        <xs:documentation>Left bottom x-coordinate in map units.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute use="required" name="miny" type="xs:double">
      <xs:annotation>
        <xs:documentation>Left bottom y-coordinate in map units.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="type">
      <xs:annotation>
        <xs:documentation>The geometry type of the part for a polygon.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="polyline" />
          <xs:enumeration value="polylinez" />
          <xs:enumeration value="polylinem" />
          <xs:enumeration value="polygon" />
          <xs:enumeration value="polygonz" />
          <xs:enumeration value="polygonm" />
          <xs:enumeration value="rect" />
          <xs:enumeration value="ellipse" />
          <xs:enumeration value="circle" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2013 All Rights Reserved.